package db.test;

import db.domain.User;
import sf.database.meta.MetaHolder;
import sf.database.meta.TableMapping;
import sf.tools.ArrayUtils;

public class Met {
    public static void main(String[] args) {
        TableMapping tb = MetaHolder.getMeta(User.class);
        System.out.println(tb);

        String str = "qqqq";
        String[] arr = str.split("---");
        System.out.println(arr.length);

        int[] a = new int[]{1, 2};
        Object[] aa = ArrayUtils.objectToArray(a);
        System.out.println(aa);
        System.out.println(a.getClass().getComponentType()==Object.class);
        System.out.println(aa.getClass().getComponentType()==Object.class);
        Object o = a;
        System.out.println(o instanceof Object[]);
    }
}
